package com.lgqz.topsports.bean;

import java.util.Date;

/**
 * Created by Administrator on 2016/12/27/027.
 */
public class MatchContestEntity {


    private long contest_id;
    private String cup_name;
    private int home_scores;
    private int away_scores;
    private Date start_time;
    private int status;
    private MatchTeamEntity h_t;
    private MatchTeamEntity a_t;

    public long getContest_id() {
        return contest_id;
    }

    public void setContest_id(long contest_id) {
        this.contest_id = contest_id;
    }

    public String getCup_name() {
        return cup_name;
    }

    public void setCup_name(String cup_name) {
        this.cup_name = cup_name;
    }

    public int getHome_scores() {
        return home_scores;
    }

    public void setHome_scores(int home_scores) {
        this.home_scores = home_scores;
    }

    public int getAway_scores() {
        return away_scores;
    }

    public void setAway_scores(int away_scores) {
        this.away_scores = away_scores;
    }

    public Date getStart_time() {
        return start_time;
    }

    public void setStart_time(Date start_time) {
        this.start_time = start_time;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public MatchTeamEntity getH_t() {
        return h_t;
    }

    public void setH_t(MatchTeamEntity h_t) {
        this.h_t = h_t;
    }

    public MatchTeamEntity getA_t() {
        return a_t;
    }

    public void setA_t(MatchTeamEntity a_t) {
        this.a_t = a_t;
    }

    public String getStatusString() {
        String s = "未知";
        switch (status) {
            case -1:
                s = "已结束";
                break;
            case 1:
                s = "第一节";
                break;
            case 2:
                s = "第二节";
                break;
            case 3:
                s = "第三节";
                break;

            case 4:
                s = "第四节";
                break;
        }
        return s;

    }
}